import { myAxios } from '@apis/http';

//查询管理-小保单查询-table
export const smallPolicyTableInfoApi = (params = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/policy/fnp-order/list',
    params,
  });
};
//查询管理-小保单查询-保单详情
export const getSmallPolicyByOrderNoApi = (params = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/policy/fnp-order/detail',
    params,
  });
};
//查询管理-批改查询-table
export const endorFneEndorQueryApi = (params = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/policy/fne-endor/list',
    params,
  });
};
//查询管理-批改查询-table详情
export const endorFneEndorDetaiApi = (params = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/policy/fne-endor/detail',
    params,
  });
};
//业务类型查询
export const confSysCodeApi = (params: any = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/management/conf-sys-code/getByCodeType/' + params.codeType,
    params: {},
  });
};
//基础管理-补传管理
export const exBusinessCompensateListApi = (params = {}) => {
  return myAxios({
    method: 'get',
    url: '/api/policy/ex-business-compensate/list',
    params,
  });
};
